SortAsync<T>(ICollectionView<T>,Expression<Func<T,Object>>,SortDirection) Method
In This Topic
Sorts the collection view according to the specified sort path and direction.
Syntax
'Declaration
Public Overloads Shared Function SortAsync(Of As Class)( _
ByVal As ICollectionView(Of T), _
ByVal As System.Linq.Expressions.Expression(Of Func(Of T,Object)), _
Optional ByVal As SortDirection _
) As System.Threading.Tasks.Task
public static System.Threading.Tasks.Task SortAsync<>(
ICollectionView<T> ,
System.Linq.Expressions.Expression<Func<T,object>> ,
SortDirection
)
where T: class
Parameters
- collectionView
- The collection view.
- sortPath
- The filter path.
- sortDirection
- The sort direction.
Type Parameters
- T
See Also